/*
 * Copyright (c) 2017-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.ssl.v20191205.models;

import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class BatchDeleteCSRRequest extends AbstractModel {

    /**
    * The IDs of the CSRs to be deleted, 100 IDs at most.
    */
    @SerializedName("CSRIds")
    @Expose
    private Long [] CSRIds;

    /**
     * Get The IDs of the CSRs to be deleted, 100 IDs at most. 
     * @return CSRIds The IDs of the CSRs to be deleted, 100 IDs at most.
     */
    public Long [] getCSRIds() {
        return this.CSRIds;
    }

    /**
     * Set The IDs of the CSRs to be deleted, 100 IDs at most.
     * @param CSRIds The IDs of the CSRs to be deleted, 100 IDs at most.
     */
    public void setCSRIds(Long [] CSRIds) {
        this.CSRIds = CSRIds;
    }

    public BatchDeleteCSRRequest() {
    }

    /**
     * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
     *       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
     */
    public BatchDeleteCSRRequest(BatchDeleteCSRRequest source) {
        if (source.CSRIds != null) {
            this.CSRIds = new Long[source.CSRIds.length];
            for (int i = 0; i < source.CSRIds.length; i++) {
                this.CSRIds[i] = new Long(source.CSRIds[i]);
            }
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap<String, String> map, String prefix) {
        this.setParamArraySimple(map, prefix + "CSRIds.", this.CSRIds);

    }
}

